﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Traceab.DTO;
using Traceability.Domain;

namespace Traceability.Service.Interfae
{
    /// <summary>
    /// 图片
    /// </summary>
    public interface IImgsService
    {
        /// <summary>
        /// 显示产品检验报告
        /// </summary>
        /// <param name="batch"></param>
        /// <returns></returns>
        Task<List<ImgDto>> GetImgsAll(string batch,int tid);
        /// <summary>
        /// 显示动检证
        /// </summary>
        /// <param name="batch"></param>
        /// <returns></returns>
        Task<List<ImgDto>> GetHesImgAll(string bacth, int hid);
        /// <summary>
        /// 显示养殖企业图片
        /// </summary>
        /// <param name="batch"></param>
        /// <returns></returns>
        Task<List<ImgDto>> GetEndImgAll(string bacth, int hid);
        /// <summary>
        /// 屠宰相关资质
        /// </summary>
        /// <param name="batch"></param>
        /// <returns></returns>
        Task<List<ImgDto>> GetSlImgAll(string bacth,int sid);
        /// <summary>
        /// 显示屠宰企业图片
        /// </summary>
        /// <param name="batch"></param>
        /// <returns></returns>
        Task<List<ImgDto>> GetSlpriseImgAll(string bacth, int pid);
        /// <summary>
        /// 显示深加工食品安全图片
        /// </summary>
        /// <param name="batch"></param>
        /// <returns></returns>
        Task<List<ImgDto>> GetPressImgAll(string bacth,int pid);
        /// <summary>
        /// 显示原料图片
        /// </summary>
        /// <param name="batch"></param>
        /// <returns></returns>
        Task<List<ImgDto>> GetRawImgAll(int tid, int pid);
        /// <summary>
        /// 显示辅料图片
        /// </summary>
        /// <param name="batch"></param>
        /// <returns></returns>
        Task<List<ImgDto>> GetAuxImgAll(int tid, int pid);
        /// <summary>
        /// 显示添加剂图片
        /// </summary>
        /// <param name="batch"></param>
        /// <returns></returns>
        Task<List<ImgDto>> GetAdditiveImgAll(int tid, int pid);
        /// <summary>
        /// 显示包材图片
        /// </summary>
        /// <param name="batch"></param>
        /// <returns></returns>
        Task<List<ImgDto>> GetPackImgAll(int tid, int pid);
        /// <summary>
        /// 显示深加工企业图片
        /// </summary>
        /// <param name="batch"></param>
        /// <returns></returns>
        Task<List<ImgDto>> GetDeepImgAll(string bacth, int pid);
        /// <summary>
        /// 添加图片
        /// </summary>
        /// <param name="imgs"></param>
        /// <returns></returns>
        Task<int> AddImgs(Imgs imgs);
        /// <summary>
        /// 删除产品检验报告
        /// </summary>
        /// <param name="ImgName"></param>
        /// <returns></returns>
        Task<int> DelTracImg(string? ImgName);
        /// <summary>
        /// 修改图片相对应的生产批次
        /// </summary>
        /// <param name="imgs"></param>
        /// <returns></returns>
        Task<int> UpdateImgs(int Iid, string Xid);
      


    }
}
